package com.sgcc.modules.monitor.config;

import com.sgcc.modules.monitor.notify.CustomNotifier;
import de.codecentric.boot.admin.server.domain.entities.InstanceRepository;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class NotifyConfigurer {

    @Bean
    public CustomNotifier customNotifier(InstanceRepository repository){
        return new CustomNotifier(repository);
    }
}
